<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>page插件演示</title>
<script type="text/javascript" src="js/jquery/jquery-3.2.1.min.js"></script>
<link rel="stylesheet" href="css/jquery.page.css">
<script type="text/javascript" src="js/jquery.page.js"></script>
</head>
<body>
	<div id="page"></div>

	<script type="text/javascript">
		$(function() {
			$("#page").Page({
				totalPages : 4,//分页总数
				liNums : 5,//分页的数字按钮数(建议取奇数)
				activeClass : 'activP', //active 类样式定义
				callBack : function(page) {
					console.log(page)
				}
			});
		})
	</script>
</body>
</html>